<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="description" content="">
    <meta name="viewport" content="width=1100" />

    <title><? the_title() ?> | PitchWise - Search, Book, Play</title>

    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/fonts/opensans/stylesheet.css">

    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/pitchwise.css">
    <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/font-awesome.min.css">

    <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr-2.6.1-respond-1.1.0.min.js"></script>

    <?php wp_head(); ?>
</head>
<body>
<div id="wrap">
    <div id="loader">
        <img src="<?php echo get_template_directory_uri(); ?>/4 (1).gif"/>
    </div>
    <div id="loader-back">
    </div>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->

<header id="header">
    <div class="container">


        <a href="/"><div id="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/pitchwise%20logo.png"/></div></a>

        <div id="social">
            <a href="#" id="twitter"></a>
            <a href="#" id="facebook"></a>
        </div>

        <!--
        <div id="menu">
            <ul>
                <li class="active"><a href="#">Home</a></li>
                <li><a href="#">Login</a></li>
                <li><a href="#">Register</a></li>
                <li><a href="#">Blog</a></li>
                <li><a href="#">About</a></li>
            </ul>
        </div>
        -->

        <?php

        $defaults = array(
            'theme_location' => '',
            'menu' => '',
            'container' => 'div',
            'container_class' => 'menu-{menu slug}-container hide',
            'container_id' => 'menu',
            'menu_class' => 'menu',
            'menu_id' => '',
            'echo' => true,
            'fallback_cb' => 'wp_page_menu',
            'before' => '',
            'after' => '',
            'link_before' => '',
            'link_after' => '',
            'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
            'depth' => 0,
            'walker' => ''
        );

        wp_nav_menu($defaults );
        ?>

        <div style="position: absolute; right: 230px; top: 49px;">
            <?
            if (is_user_logged_in()) {
                global $current_user;
                get_currentuserinfo();

                echo 'Hello ' . $current_user->user_firstname;
            } else {
                echo 'Welcome to PitchWise';
            }
            ?>
        </div>

        <input id="search" type="search" style="border-radius: 3px;" placeholder="Search PitchWise..."/>
        <div id="search-icon"></div>

    </div>
</header>